package com.yxe.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yxe.mapper.RoomMapper;
import com.yxe.pojo.Room;
import com.yxe.service.RoomService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yang
 * @since 2022-12-08
 */
@Service
public class RoomServiceImpl extends ServiceImpl<RoomMapper, Room> implements RoomService {

    @Resource
    private RoomMapper roomMapper;

    @Override
    public Room selectById(Integer roomId) {

        Room room = roomMapper.selectById(roomId);

        return room;
    }
}
